package com.baiwang.web.domain.vo;

import lombok.Builder;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/** 文件批量导入实体类
 * @author zhanliuzhu
 * @date 2024/4/23
 */
@Data
@Builder
public class ImportVO {

    @NotNull(message = "Excel 文件不能为空")
    private MultipartFile file;

    @NotNull(message = "是否支持更新不能为空")
    private Boolean updateSupport;

}
